<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>混合布局编程挑战</title>
		<style type="text/css">
			body {
				margin: 0;
				padding: 0;
				font-size: 30px;
				color: #fff
			}
			.main{
				background: red;
				height: 100%;
				width: 100%;
			}
			.top{
				width: 100%;
				height: 100px;
				background: #ccc;
			}
			.left{
				width: 200px;
				background: blue;
				height: 500px;
				position: absolute;
				top: 100px;
				left: 0;
			}
			.right{
				background: #9C9;
				height: 500px;
				margin-left: 210px;
			}
			.foot{
				height: 100px;
				background: #F63;
				width: 100%;
			}
		</style>

	</head>

	<body>
		<div class="top">top</div>
		<div class="main">
			<div class="right">right</div>
			<div class="left">left</div>
		</div>
		<div class="foot">foot</div>
	</body>

</html>